package com.cll.prototype.hystrix.dashboard;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

/**
 * 描述信息:
 * Hystrix熔断器监控的仪表盘
 * @author CLL
 * @version 1.0
 * @date 2020/10/29 9:47
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableHystrixDashboard
public class HystrixDashboardApplication8775 {

    private static final Logger logger = LoggerFactory.getLogger(HystrixDashboardApplication8775.class);

    public static void main(String[] args) {
        logger.info("===>>> Hystrix仪表盘服务开始启动");
        SpringApplication.run(HystrixDashboardApplication8775.class, args);
        logger.info("===>>> Hystrix仪表盘服务启动成功");
    }
}
